<?php
namespace app\common\validate;

use app\common\validate\BaseValidate;

class TodoList extends BaseValidate
{
    public function __construct()
    {
        parent::__construct();
//        $this->initValidateRule('TodoList');

    }
    protected $rule = [
        'date' => 'require',
        'content' => 'require',
    ];
    protected $message = [
        'date.require'  =>  '请选择待办日期',
        'content.require' =>  '请填写待办内容',
    ];
}
